package uo.ri.conf;

import uo.ri.peristence.AveriaGateway;
import uo.ri.peristence.FacturaGateway;
import uo.ri.peristence.MecanicosGateway;
import uo.ri.peristence.impl.AveriaGatewayImpl;
import uo.ri.peristence.impl.FacturaGatewayImpl;
import uo.ri.peristence.impl.MecanicosGatewatImpl;

public class PersistenceFactory {
	
	public static FacturaGateway getFacturaGateway(){
		return new FacturaGatewayImpl();
	}
	
	public static AveriaGateway getAveriaGateway(){
		return new AveriaGatewayImpl();
	}
	
	public static MecanicosGateway getMecanicGateway(){
		return new MecanicosGatewatImpl();
	}

}
